<?php
$this->Html->addCrumb('<i class="fa fa-home"></i> ' . Inflector::camelize($this->request->params ['prefix']), '/' . $this->request->params ['prefix'] . '/', array('escape' => false));
$this->Html->addCrumb('Comentários', array('prefix' => $this->request->params['prefix'], 'controller' => $this->request->params['controller'], 'plugin' => $this->request->params['plugin'], 'action' => 'index'), array('escape' => false));
$this->Html->addCrumb('Alterar', NULL, array('escape' => false));

$this->Html->setAcoes('<i class="fa fa-search"></i>' . __('List'), array('action' => 'index'), array('title' => __('List'), 'class' => 'btn btn-info', 'escapeTitle' => false));
?>
<?php
echo $this->Form->create('Conteudo', array(
    'inputDefaults' => array(
        'div' => 'form-group',
        'wrapInput' => false,
        'class' => 'form-control'
    )
        )
);
?>
<div class="comentarios form">
    <?php
    echo $this->Form->create('Comentario', array(
        'inputDefaults' => array(
            'div' => 'form-group',
            'wrapInput' => false,
            'class' => 'form-control'
        )
            )
    );
    echo '<div class="row" style="margin-bottom: 15px;">';
    echo $this->Form->input('id', array('div' => array('class' => 'col-xs-3')));
    echo $this->Form->input('titulo', array('label'=>'Título','div' => array('class' => 'col-xs-12 col-md-5')));
    echo $this->Form->input('email', array('label'=>'E-mail','div' => array('class' => 'col-xs-12 col-md-4')));
    echo $this->Form->status('status', array('div' => array('class' => 'col-xs-12 col-md-3')));
    echo $this->Form->input('descricao', array('label'=>'Descrição','div' => array('class' => 'col-xs-12')));
    echo '</div>';
    ?>
</div>
<?php
echo $this->Form->button(__('Salvar'), array('type' => 'submit'));
echo $this->Form->end();
?>